package com.common.exception;

/**
 * 调用远程PCL接口出错异常
 * @author lj
 * @date 2017年6月26日 下午3:46:29
 */
public class PCLServiceException extends RuntimeException {
	
	private static final long serialVersionUID = -3140793056110877851L;
	
	private String code;
	
	public PCLServiceException() {
		super();
	}

	public PCLServiceException(String message, Throwable cause,
			boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public PCLServiceException(String message, Throwable cause) {
		super(message, cause);
	}

	public PCLServiceException(String message) {
		super(message);
	}

	public PCLServiceException(Throwable cause) {
		super(cause);
	}

	public PCLServiceException(String code, String message) {
		super(message);
		this.code = code;
	}
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}

}
